<template>
  <div class="nav-list">
    <div v-for="(item,index) in navList" :key="index">
      <nav-List-Item :itemContent="item"/>
    </div>
  </div>
</template>

<script>
import navListItem from './navListItem.vue'
export default {
  props: ["navList"],
  components: {
    navListItem
  }
}
</script>

<style scoped lang="less">
.nav-list {
  padding: 0 10px;
}
</style>
